using System;
using System.Collections.Generic;
using System.Text;

namespace CodePlex.Resourceful.CommandLine
{
    public class ServiceInfo : BaseInfo
    {
        private readonly List<ActionInfo> _actions;

        public ServiceInfo(string name, string description, IEnumerable<ActionInfo> actions)
            : base(name, description)
        {
            _actions = new List<ActionInfo>(actions);
        }

        public IEnumerable<ActionInfo> Actions
        {
            get
            {
                return _actions;
            }
        }
    }
}
